package org.jeecg.modules.wlhy.company.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: hy_company_config
 * @Author: jeecg-boot
 * @Date:   2021-07-01
 * @Version: V1.0
 */
@Data
@TableName("hy_company_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_company_config对象", description="hy_company_config")
public class HyCompanyConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**分公司id*/
    @Excel(name = "分公司", width = 15, dictTable = "hy_company", dicText = "company_name", dicCode = "id")
    @Dict(dictTable = "hy_company", dicText = "company_name", dicCode = "id")
    @ApiModelProperty(value = "分公司id")
    private String companyId;
	/**装货现场照片(1需要传 0不需要)*/
//    @Excel(name = "是否需要装货现场照片", width = 15, dicCode = "iz_used")
    @Dict(dicCode = "iz_used")
    @ApiModelProperty(value = "是否需要装货现场照片(1表示是 0表示否)")
    private Integer scenePhoto;

    /**上报平台类型(1-河北,2-天津)*/
//    @Excel(name = "上报平台类型(1-河北,2-天津)", width = 15, dicCode = "report_platform_type")
    @Dict(dicCode = "report_platform_type")
    @ApiModelProperty(value = "上报平台类型(1-河北,2-天津)")
    private Integer reportPlatformType;

    @Excel(name = "是否自动上报", width = 15)
    @ApiModelProperty(value = "是否自动上报(1表示是 0表示否)")
    @Dict(dicCode = "yn")
    private Integer autoReport;

    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**删除状态(0-正常,1-已删除)*/
//	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private String delFlag;

//    @ApiModelProperty(value = "是否启用油气")
//    private Boolean izGasUsed;

    @Dict(dicCode = "tax_upload_type")
    @ApiModelProperty(value = "税务上报平台类型(0-暂无,1-天津 3-辽税)")
    private Integer taxUploadType;

    /**天津税务上报状态(0未上传 1上传成功 2上传失败)*/
    @Excel(name = "天津税务上报状态(0未上传 1上传成功 2上传失败)", width = 15, dicCode = "upload_status")
    @Dict(dicCode = "upload_status")
    @ApiModelProperty(value = "天津税务上报状态(0未上传 1上传成功 2上传失败)")
    private java.lang.String tjTaxUploadStatus;

    /**天津税务上报时间*/
    @Excel(name = "天津税务上报时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "天津税务上报时间")
    private java.util.Date tjTaxUploadTime;

    @ApiModelProperty(value = "园区上报类型，0是无，中交园区是100 鄂尔多斯是200")
    private Integer parkReportPlatformType;

    @ApiModelProperty(value = "监管平台上报URL")
    private String reportUrl;

    @ApiModelProperty(value = "监管平台上报用户名")
    private String reportUsername;

    @ApiModelProperty(value = "监管平台上报密码")
    private String reportPassword;

    @ApiModelProperty(value = "监管平台上报Publickey")
    private String reportPublickey;

    @ApiModelProperty(value = "SDKAppID")
    private String reportAppid;

    @ApiModelProperty(value = "SDKApp安全码")
    private String reportAppkey;

    @ApiModelProperty(value = "SDKApp发送码")
    private String reportAppsender;

    @ApiModelProperty(value = "SDK正式状态(1正式 0联调）")
    private String reportApprelease;

}
